import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import {resolve} from 'path'
import {viteExternalsPlugin} from 'vite-plugin-externals'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), viteExternalsPlugin({cesium: "Cesium"})],
  resolve: {
    alias: {
      'yt-cesium': resolve(__dirname, 'src/cesium')
    }
  }
})
